home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Language/OS - Multiplatform Resource Library
/
LANGUAGE OS.iso
/
f2c
/
may_5_92.lha
/
f2c.VMay_5_1992
/
libF77
/
c_log.c
< prev
next >
Wrap
C/C++ Source or Header
|
1992-05-07
|
145b
|
11 lines
#include "f2c.h"
VOID c_log(r, z)
complex *r, *z;
{
double log(), cabs(), atan2();
r->i = atan2(z->i, z->r);
r->r = log( cabs(z->r, z->i) );
}